GtkEntry: Explicitly notify for populate-all
authorMatthias Clasen <mclasen@redhat.com>
Sun, 8 Jun 2014 15:33:29 +0000 (11:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 17:30:59 +0000 (13:30 -0400)
gtk/gtkentry.c

index e93360d9b637884e5ae16852cda5f9e7b97ebae9..b27e25e75815d41b41baed0af2b976a659c34b8f 100644 (file)
@@ -2345,7 +2345,11 @@ gtk_entry_set_property (GObject         *object,
       break;
 
     case PROP_POPULATE_ALL:
-      entry->priv->populate_all = g_value_get_boolean (value);
+      if (entry->priv->populate_all != g_value_get_boolean (value))
+        {
+          entry->priv->populate_all = g_value_get_boolean (value);
+          g_object_notify_by_pspec (object, pspec);
+        }
       break;
 
     case PROP_TABS: